package com.ricky.onlineShop.shop.trading.pojo;

import com.ricky.base.bean.BaseEntity;
import com.ricky.base.tool.target.comment.OComment;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author staticlan
 * @Date 2024/7/8 10:54
 * @Description:
 */
@Data
@Entity
@Table(name = "TRADING_ORDER")
public class TradingOrder extends BaseEntity {
    @OComment("订单号")
    private String orderNo;
    @OComment("网店编号")
    private String tradingNum;
    @OComment("网店id")
    private String tradingId;
    @OComment("卖家到手价格")
    private BigDecimal handPrice;
    @OComment("网店出售价格")
    private BigDecimal sellingPrice;
//    @OComment("优惠金额")
//    private BigDecimal discountAmount;
    @OComment("网店所属人")
    private String shopHolder;
    @OComment("网店所属人Id")
    private String shopHolderId;
    @OComment("订单所属人")
    private String orderHolder;
    @OComment("订单所属人Id")
    private String orderHolderId;
    @OComment("业绩")
    private BigDecimal performance;
    @OComment("提成")
    private BigDecimal royalty;
    @OComment("订单类型 0:拍下，1:手动添加")
    private String orderType;
    @OComment("订单完成时间")
    public Long completeTime;
    @OComment("订单状态 0:生成，1:完成")
    private String orderStatus;
    @OComment("订单备注")
    private String orderRemark;
}
